package com.fable.biz.operate.enums;

/**
 * 热度排行的纬度
 * Created by weishuai on 15/7/31.
 */
public enum HotTopEnum {

    item("详情", 1),
    series("车系", 2),
    brand("品牌", 3),
    ;

    private String desc;
    private Integer status;

    HotTopEnum(String desc, Integer status) {
        this.desc = desc;
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public Integer getStatus() {
        return status;
    }

    public static HotTopEnum valueOf(Integer value) {
        switch (value) {
            case 1:
                return item;
            case 2:
                return series;
            default:
                return brand;
        }

    }

}
